package domain;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Freedy
 * @date 2020-12-24
 */
public class Role implements Serializable {

	private static final long serialVersionUID = 1579503811006236709L;
	private Integer id;

	private String roleName;

	private String roleDesc;

	private List<Permission> permissions;
	private List<Users> users;

  public static long getSerialVersionUID() {
    return serialVersionUID;
  }

  public List<Permission> getPermissions() {
    return permissions;
  }

  public void setPermissions(List<Permission> permissions) {
    this.permissions = permissions;
  }

  public List<Users> getUsers() {
    return users;
  }

  public void setUsers(List<Users> users) {
    this.users = users;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }

}
